package com.sjy.shopmall.vo;

import lombok.Data;

@Data
public class ResultVO<T> {

    public static final int success = 8, fail = -8;
    private int code;
    private String msg;
    private T data;

    public ResultVO(int status, String msg, T data) {
        this.code = status;
        this.msg = msg;
        this.data = data;
    }
}
